package com.ogawa.projectcommon.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey


@Entity(tableName = "musicmixcollect", indices = [Index(value = ["position"],unique = true)])
public class MusicMixCollectBean {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    var id: Int? = null
    @ColumnInfo(name = "musicid")
    var musicid: String = ""
    @ColumnInfo(name = "name")
    var name: String = ""
    @ColumnInfo(name = "url")
    var url: String = ""
    @ColumnInfo(name = "localpath")
    var localpath: String = ""
    @ColumnInfo(name = "typecode")
    var typecode: String = ""
    @ColumnInfo(name = "position")//位置，序号
    var position: Int = 0
    @ColumnInfo(name = "downIcon")//封面
    var downIcon: String = ""
    @ColumnInfo(name = "status")//播放情况
    var status: Int = -1
    @ColumnInfo(name = "volume")//音量
    var volume: Float = 0.5f


}
